<div align="left" style="padding:1px 2px 1px 2px;"><?php $session->flash(); ?></div>
<div id="addform" class="form">
<?php echo $form->create('Marca');?>
    <fieldset class="ui-corner-all ui-widget-content" style="width: 98%">
        <legend class="ui-widget-header ui-corner-all ui-state-active">
            Nueva Marca
        </legend>
        <?php
        echo $form->input('Marca.codigo',array('label'=>'Codigo'));        
        echo $form->input('Marca.descripcion',array('label'=>'Descripcion','size'=>100));
        ?>
    </fieldset>

    <?php echo $form->submit('Guardar',array('class'=>'btnsave','div'=>false));?>
    <?php echo $html->link('Cancelar',array('action'=>'index'),array('class'=>'lnkbutton btncancel'));?>
<?php echo $form->end();?>
</div>
<?php echo $javascript->link('add-edit_only.js',true);?>